package cn.kelvin.oocl.dayone;

public class MyClass {
	private String name;
	public void work(){
		KelvinClass kelvin1 = new KelvinClass();
		kelvin1.eat();
	}
	
	public void classTest(){
		final String number="qqq";
		class Part{
			public void work1(){
				System.out.println(name);
				System.out.println(number);
			}
		}
		
		Part part = new Part();
		part.work1();
		
		Object object = new Object(){
			public void doThing(){
				
			}
		};
		
	}
	
	public class KelvinClass{
		private int age;
		public void eat(){
			System.out.println("Kelvin eat");
		}
	}
	
	interface Basic{
		
	}
}
